package org.jeecg.modules.xl.wdt.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.jeecg.modules.xl.wdt.entity.WdtGoodsSpecList;

public interface WdtGoodsSpecListMapper extends BaseMapper<WdtGoodsSpecList> {
    int batchInsertOrUpdate(@Param("list") List<WdtGoodsSpecList> list);

    int insertOrUpdate(WdtGoodsSpecList record);

    int insertOrUpdateSelective(WdtGoodsSpecList record);


    @Select("SELECT * FROM wdt_goods_spec_list WHERE goods_no = #{goods_no} limit 1")
    WdtGoodsSpecList getOneSpecByGoodNo(@Param("goods_no") String goods_no);

}